package com.woniuxy.micropurchaseserver.purchasereturnmsg.mapper;

import com.woniuxy.micropurchaseserver.bean.PurchaseReturnBean;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface PurchaseReturnMapper {
    public List<PurchaseReturnBean> findAllPurchaseReturn(@Param("preturn") PurchaseReturnBean purchaseReturnBean);

    @Delete("delete from t_purchase_return_info where id=#{id}")
    public Integer deletePurchaseReturnById(Integer id);

    public Integer UpdatePurchaseReturn(@Param("preturn") PurchaseReturnBean purchaseReturnBean);

    public Long InsertPurchaseReturn(PurchaseReturnBean purchaseReturnBean);
}
